Reference | Color


Syntax
Color()

DescriptionThe color commands in NodeBox (see for example, color(), fill(), stroke(), background()) return a Color object. This object has a number of properties to manipulate indivdual color values in different spaces and can be passed to the fill() and stroke() command.
Methods
clr.blend(clr)
clr.copy()
Properties
clr.r
clr.g
clr.b
clr.a
clr.hue
clr.saturation
clr.brightness
clr.c
clr.m
clr.y
clr.

See the tutorial on colors to learn about all the properties.

With the blend() method you can create an in-between of two colors.